OTP\Handler\Forms\WordPressComments A

Total Complexity 53
Dependencies 7
Dependents 0
Total lines 294
Lines of code 191
Logical lines of code 108
Comment lines 0
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
verify_comment_meta_data()
A
52 11 23
_startOTPVerificationProcess()
S
54 6 19
extend_comment_edit_metafields()
S
61 5 11
_getFieldHTML()
S
54 3 22
get_otp_html_content()
S
55 3 18
_add_custom_fields()
S
66 3 8
routeData()
S
66 3 8
getPhoneNumberSelector()
S
70 3 6
save_comment_meta_data()
S
67 3 7
_add_scripts_and_additional_fields()
S
68 3 7
handleForm()
S
58 2 15
handleFormOptions()
S
65 2 9
__construct()
S
60 1 13
extend_comment_meta_box()
S
62 1 12
handle_failed_verification()
S
82 1 3
handle_post_verification()
S
83 1 3
unsetOTPSessionVariables()
S
79 1 3
extend_comment_add_meta_box()
S
74 1 4